package de.au.fi.manager;

import org.ektorp.CouchDbConnector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import de.au.fi.domain.Stock;

@Component
@Service
public class StockManager extends GenericManager<Stock> {

	Logger log = LoggerFactory.getLogger(this.getClass());

	@Autowired
	public StockManager(@Qualifier("stockDatabase") CouchDbConnector db) {
		super(db, Stock.class);
	}
}
